package com.baichang.taoshunda.dao.impl;

import org.springframework.stereotype.Repository;

import com.baichang.framework.dao.impl.BaseDaoImpl;
import com.baichang.taoshunda.dao.BankcardTypeDao;
import com.baichang.taoshunda.entity.BankcardType;

import java.util.List;

@Repository
public class BankcardTypeDaoImpl extends BaseDaoImpl<BankcardType> implements BankcardTypeDao {


    @Override
    public List<BankcardType> findBankType() {
        String sql = " SELECT * FROM {table} WHERE state=1 ";
        return queryForBeanList(sql);
    }
}